This event occurs just before an object is renamed.
Syntax
Private Sub AMUIExtension_BeforeRename(
ByVal Object As Object,
ByVal NewName As String,
Abort As Boolean)
Name | Description |
---|---|
Object |
The object that will be renamed. |
NewName |
|
Abort |
Setting this argument to True will abort the rename operation. The AfterRename event will not occur. |
Remarks
A good use of this event is to implement strict naming rules.
For documents the equivalent VBScript event is the Rename script event. See the BlueCielo Meridian Enterprise VBScript API Reference for more information.